// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PUR_QUOTATION_ITEM
// * CreateDate    : 2014-06-05 18:30:26
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:26
// * LastChanger   : 2014-06-05 18:30:26
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class PurQuotationItemTable : TableInfo
    {
		public const string C_TableName = "PUR_QUOTATION_ITEM";
		
		public const string C_ID = "ID";
		public const string C_QU_NO = "QU_NO";
		public const string C_RFQ_ITEM_ID = "RFQ_ITEM_ID";
		public const string C_MATERIAL_ID = "MATERIAL_ID";
		public const string C_MATERIAL_NAME = "MATERIAL_NAME";
		public const string C_MATERIAL_CODE = "MATERIAL_CODE";
		public const string C_MATERIAL = "MATERIAL";
		public const string C_QTY = "QTY";
		public const string C_UNIT = "UNIT";
		public const string C_PRM_DELIVERY_DATE = "PRM_DELIVERY_DATE";
		public const string C_IS_TAX = "IS_TAX";
		public const string C_TAX_RATE = "TAX_RATE";
		public const string C_PRICE = "PRICE";
		public const string C_SUB_TOTAL_PRICE = "SUB_TOTAL_PRICE";
		public const string C_DISCOUNT = "DISCOUNT";
		public const string C_REMARK = "REMARK";
		
		public PurQuotationItemTable()
        {
            _tableName = "PUR_QUOTATION_ITEM";
        }
		
		protected static PurQuotationItemTable _current;
        public static PurQuotationItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new PurQuotationItemTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_QU_NO, new ColumnInfo(C_QU_NO,"QuNo", false, typeof(string)));
            _current.Add(C_RFQ_ITEM_ID, new ColumnInfo(C_RFQ_ITEM_ID,"RfqItemId", false, typeof(string)));
            _current.Add(C_MATERIAL_ID, new ColumnInfo(C_MATERIAL_ID,"MaterialId", false, typeof(string)));
            _current.Add(C_MATERIAL_NAME, new ColumnInfo(C_MATERIAL_NAME,"MaterialName", false, typeof(string)));
            _current.Add(C_MATERIAL_CODE, new ColumnInfo(C_MATERIAL_CODE,"MaterialCode", false, typeof(string)));
            _current.Add(C_MATERIAL, new ColumnInfo(C_MATERIAL,"Material", false, typeof(string)));
            _current.Add(C_QTY, new ColumnInfo(C_QTY,"Qty", false, typeof(decimal)));
            _current.Add(C_UNIT, new ColumnInfo(C_UNIT,"Unit", false, typeof(string)));
            _current.Add(C_PRM_DELIVERY_DATE, new ColumnInfo(C_PRM_DELIVERY_DATE,"PrmDeliveryDate", false, typeof(DateTime)));
            _current.Add(C_IS_TAX, new ColumnInfo(C_IS_TAX,"IsTax", false, typeof(int)));
            _current.Add(C_TAX_RATE, new ColumnInfo(C_TAX_RATE,"TaxRate", false, typeof(decimal)));
            _current.Add(C_PRICE, new ColumnInfo(C_PRICE,"Price", false, typeof(decimal)));
            _current.Add(C_SUB_TOTAL_PRICE, new ColumnInfo(C_SUB_TOTAL_PRICE,"SubTotalPrice", false, typeof(decimal)));
            _current.Add(C_DISCOUNT, new ColumnInfo(C_DISCOUNT,"Discount", false, typeof(decimal)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo QU_NO
        {
            get { return this[C_QU_NO]; }
        }
		
		public ColumnInfo RFQ_ITEM_ID
        {
            get { return this[C_RFQ_ITEM_ID]; }
        }
		
		public ColumnInfo MATERIAL_ID
        {
            get { return this[C_MATERIAL_ID]; }
        }
		
		public ColumnInfo MATERIAL_NAME
        {
            get { return this[C_MATERIAL_NAME]; }
        }
		
		public ColumnInfo MATERIAL_CODE
        {
            get { return this[C_MATERIAL_CODE]; }
        }
		
		public ColumnInfo MATERIAL
        {
            get { return this[C_MATERIAL]; }
        }
		
		public ColumnInfo QTY
        {
            get { return this[C_QTY]; }
        }
		
		public ColumnInfo UNIT
        {
            get { return this[C_UNIT]; }
        }
		
		public ColumnInfo PRM_DELIVERY_DATE
        {
            get { return this[C_PRM_DELIVERY_DATE]; }
        }
		
		public ColumnInfo IS_TAX
        {
            get { return this[C_IS_TAX]; }
        }
		
		public ColumnInfo TAX_RATE
        {
            get { return this[C_TAX_RATE]; }
        }
		
		public ColumnInfo PRICE
        {
            get { return this[C_PRICE]; }
        }
		
		public ColumnInfo SUB_TOTAL_PRICE
        {
            get { return this[C_SUB_TOTAL_PRICE]; }
        }
		
		public ColumnInfo DISCOUNT
        {
            get { return this[C_DISCOUNT]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		
		
	}
}

